home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Games Parlour•
/
MacMatch •••
/
MacMatch
/
MacMatch.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1987-02-19
|
86KB
|
1,604 lines
# near model CODE resource
# jump table entries: 0-27 (28 of them)
fn00000000:
00000000 4E56 FFF2 link A6, -0x000E
label00000004:
00000004 486D 869C pea.l [A5 - 0x7964]
00000008 A851 syscall SetCursor
0000000A A9B4 syscall SystemTask
0000000C 0C6D 0003 FEAC cmpi.w [A5 - 0x154], 0x3
00000012 57C0 seq D0
00000014 C02D FB88 and.b D0, [A5 - 0x478]
00000018 4A00 tst.b D0
0000001A 6774 beq +0x76 /* 00000090 */
0000001C 42A7 clr.l -[A7]
0000001E A975 syscall TickCount
00000020 201F move.l D0, [A7]+
00000022 B0AD 96F2 cmp.l D0, [A5 - 0x690E]
00000026 6F68 ble +0x6A /* 00000090 */
00000028 536D 9722 subq.w [A5 - 0x68DE], 1
0000002C 4A6D 9722 tst.w [A5 - 0x68DE]
00000030 660A bne +0xC /* 0000003C */
00000032 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
00000036 3B7C 0005 9722 move.w [A5 - 0x68DE], 0x5
label0000003C:
0000003C 486E FFF2 pea.l [A6 - 0xE]
00000040 A874 syscall GetPort
00000042 2F2D 9726 move.l -[A7], [A5 - 0x68DA]
00000046 A873 syscall SetPort
00000048 302D 9722 move.w D0, [A5 - 0x68DE]
0000004C E740 asl D0.w, 3
0000004E 41ED 96F2 lea.l A0, [A5 - 0x690E]
00000052 4870 0000 pea.l [A0 + D0.w]
00000056 A89D syscall PenPat
00000058 3F3C 0005 move.w -[A7], 0x5
0000005C 3F3C 0003 move.w -[A7], 0x3
00000060 A89B syscall PenSize
00000062 302D FEB0 move.w D0, [A5 - 0x150]
00000066 E740 asl D0.w, 3
00000068 41ED 96AA lea.l A0, [A5 - 0x6956]
0000006C 4870 0000 pea.l [A0 + D0.w]
00000070 3F3C 0010 move.w -[A7], 0x10
00000074 3F3C 0010 move.w -[A7], 0x10
00000078 A8B0 syscall FrameRoundRect
0000007A A89E syscall PenNormal
0000007C 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000080 A873 syscall SetPort
00000082 42A7 clr.l -[A7]
00000084 A975 syscall TickCount
00000086 202D 96F6 move.l D0, [A5 - 0x690A]
0000008A D09F add.l D0, [A7]+
0000008C 2B40 96F2 move.l [A5 - 0x690E], D0
label00000090:
00000090 4267 clr.w -[A7]
00000092 3F3C FFFF move.w -[A7], 0xFFFF
00000096 486D FA54 pea.l [A5 - 0x5AC]
0000009A A970 syscall GetNextEvent
0000009C 101F move.b D0, [A7]+
0000009E 6700 00C8 beq +0xCA /* 00000168 */
000000A2 302D FA54 move.w D0, [A5 - 0x5AC]
000000A6 5340 subq.w D0, 1
000000A8 6718 beq +0x1A /* 000000C2 */
000000AA 5540 subq.w D0, 2
000000AC 676C beq +0x6E /* 0000011A */
000000AE 5540 subq.w D0, 2
000000B0 6768 beq +0x6A /* 0000011A */
000000B2 5340 subq.w D0, 1
000000B4 6700 0098 beq +0x9A /* 0000014E */
000000B8 5540 subq.w D0, 2
000000BA 6700 00AC beq +0xAE /* 00000168 */
000000BE 6000 00A8 bra +0xAA /* 00000168 */
label000000C2:
000000C2 4267 clr.w -[A7]
000000C4 2F2D FA5E move.l -[A7], [A5 - 0x5A2]
000000C8 486D FA6C pea.l [A5 - 0x594]
000000CC A92C syscall FindWindow
000000CE 3D5F FFFC move.w [A6 - 0x4], [A7]+
000000D2 302E FFFC move.w D0, [A6 - 0x4]
000000D6 6740 beq +0x42 /* 00000118 */
000000D8 5340 subq.w D0, 1
000000DA 670A beq +0xC /* 000000E6 */
000000DC 5540 subq.w D0, 2
000000DE 6724 beq +0x26 /* 00000104 */
000000E0 5740 subq.w D0, 3
000000E2 670A beq +0xC /* 000000EE */
000000E4 6032 bra +0x34 /* 00000118 */
label000000E6:
000000E6 4267 clr.w -[A7]
000000E8 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
000000EC 607A bra +0x7C /* 00000168 */
label000000EE:
000000EE 4267 clr.w -[A7]
000000F0 2F2D FA6C move.l -[A7], [A5 - 0x594]
000000F4 2F2D FA5E move.l -[A7], [A5 - 0x5A2]
000000F8 A91E syscall TrackGoAway
000000FA 101F move.b D0, [A7]+
000000FC 6704 beq +0x6 /* 00000102 */
000000FE 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
label00000102:
00000102 6064 bra +0x66 /* 00000168 */
label00000104:
00000104 102D FC9A move.b D0, [A5 - 0x366]
00000108 0A00 0001 xori.b D0, 0x1
0000010C 4A00 tst.b D0
0000010E 6708 beq +0xA /* 00000118 */
00000110 2F2D FA5E move.l -[A7], [A5 - 0x5A2]
00000114 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
label00000118:
00000118 604E bra +0x50 /* 00000168 */
label0000011A:
0000011A 2F2D FA56 move.l -[A7], [A5 - 0x5AA]
0000011E 2F3C 0000 0100 move.l -[A7], 0x100
00000124 4EBA 06EC jsr [PC + 0x6EC /* 00000812 */]
00000128 201F move.l D0, [A7]+
0000012A 3B40 FA6A move.w [A5 - 0x596], D0
0000012E 42A7 clr.l -[A7]
00000130 302D FA62 move.w D0, [A5 - 0x59E]
00000134 48C0 ext.l D0
00000136 2F00 move.l -[A7], D0
00000138 2F3C 0000 0100 move.l -[A7], 0x100
0000013E A858 syscall BitAnd
00000140 4A9F tst.l [A7]+
00000142 6708 beq +0xA /* 0000014C */
00000144 1F3C 0001 move.b -[A7], 0x1
00000148 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
label0000014C:
0000014C 601A bra +0x1C /* 00000168 */
label0000014E:
0000014E 102D FB88 move.b D0, [A5 - 0x478]
00000152 6714 beq +0x16 /* 00000168 */
00000154 2F2D FFDA move.l -[A7], [A5 - 0x26]
00000158 A922 syscall BeginUpdate
0000015A 3F2D FC9C move.w -[A7], [A5 - 0x364]
0000015E 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000162 2F2D FFDA move.l -[A7], [A5 - 0x26]
00000166 A923 syscall EndUpdate
label00000168:
00000168 102D FA65 move.b D0, [A5 - 0x59B]
0000016C 6700 FE96 beq -0x168 /* 00000004 */
00000170 41ED 0102 lea.l A0, [A5 + 0x102 /* export_28 */]
00000174 2F08 move.l -[A7], A0
00000176 A9F1 syscall UnloadSeg
00000178 41ED 013A lea.l A0, [A5 + 0x13A /* export_35 */]
0000017C 2F08 move.l -[A7], A0
0000017E A9F1 syscall UnloadSeg
00000180 41ED 0142 lea.l A0, [A5 + 0x142 /* export_36 */]
00000184 2F08 move.l -[A7], A0
00000186 A9F1 syscall UnloadSeg
00000188 A934 syscall ClearMenuBar
0000018A 3F3C 0001 move.w -[A7], 0x1
0000018E 4EAD 0132 jsr [A5 + 0x132 /* export_34 */]
00000192 4E5E unlink A6
00000194 4E75 rts
export_0:
00000196 4EBA 004E jsr [PC + 0x4E /* 000001E6 */]
0000019A 4E56 0000 link A6, 0
0000019E 2C5F movea.l A6, [A7]+
000001A0 4EBA 0046 jsr [PC + 0x46 /* 000001E8 */]
000001A4 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
000001A8 41ED 0172 lea.l A0, [A5 + 0x172 /* export_42 */]
000001AC 2F08 move.l -[A7], A0
000001AE A9F1 syscall UnloadSeg
000001B0 486D 869C pea.l [A5 - 0x7964]
000001B4 A851 syscall SetCursor
000001B6 4267 clr.w -[A7]
000001B8 3F3C 010D move.w -[A7], 0x10D
000001BC 42A7 clr.l -[A7]
000001BE A987 syscall NoteAlert
000001C0 3B5F 9724 move.w [A5 - 0x68DC], [A7]+
000001C4 4EBA FE3A jsr [PC - 0x1C6 /* 00000000 */]
000001C8 2F2D 96AE move.l -[A7], [A5 - 0x6952]
000001CC 4EBA 08E8 jsr [PC + 0x8E8 /* 00000AB6 */]
000001D0 206D FA50 movea.l A0, [A5 - 0x5B0]
000001D4 2F10 move.l -[A7], [A0]
000001D6 A851 syscall SetCursor
000001D8 4EBA 0032 jsr [PC + 0x32 /* 0000020C */]
000001DC 4EBA 0034 jsr [PC + 0x34 /* 00000212 */]
000001E0 4E75 rts
000001E2 4E5E unlink A6
000001E4 4E75 rts
fn000001E6:
000001E6 4E75 rts
fn000001E8:
000001E8 226F 0004 movea.l A1, [A7 + 0x4]
000001EC 4878 0001 push.l 0x1
000001F0 486D 8616 pea.l [A5 - 0x79EA]
000001F4 486D 8612 pea.l [A5 - 0x79EE]
000001F8 486D 860E pea.l [A5 - 0x79F2]
000001FC 2F09 move.l -[A7], A1
000001FE 4EBA 0B04 jsr [PC + 0xB04 /* 00000D04 */]
00000202 4FEF 0014 lea.l A7, [A7 + 0x14]
00000206 4EBA 0010 jsr [PC + 0x10 /* 00000218 */]
0000020A 4E75 rts
fn0000020C:
0000020C 42A7 clr.l -[A7]
0000020E 4EBA 0CD6 jsr [PC + 0xCD6 /* 00000EE6 */]
fn00000212:
00000212 42A7 clr.l -[A7]
00000214 4EBA 0CD0 jsr [PC + 0xCD0 /* 00000EE6 */]
fn00000218:
00000218 4E56 0000 link A6, 0
0000021C 2B7C 0000 1388 863A move.l [A5 - 0x79C6], 0x1388
00000224 422D 8634 clr.b [A5 - 0x79CC]
00000228 422D 8635 clr.b [A5 - 0x79CB]
0000022C 42AD 862E clr.l [A5 - 0x79D2]
00000230 42AD 862A clr.l [A5 - 0x79D6]
00000234 42AD 861E clr.l [A5 - 0x79E2]
00000238 42AD 861A clr.l [A5 - 0x79E6]
0000023C 4E5E unlink A6
0000023E 4E75 rts
00000240 A549 syscall HPurge, flags=5
00000242 4E49 trap 9
00000244 5448 addq.w A0, 2
00000246 4541 chk.w D2, D1
00000248 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000024A-0000024E
fn0000024A:
0000024A 4E56 FFF0 link A6, -0x0010
// end alternate branch 0000024A-0000024E
fn0000024A: // (misaligned)
0000024C FFF0 .invalid <<F/7/7>>
0000024E 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000252 2C2E 0008 move.l D6, [A6 + 0x8]
00000256 426D 8632 clr.w [A5 - 0x79CE]
0000025A 102D 8634 move.b D0, [A5 - 0x79CC]
0000025E 675E beq +0x60 /* 000002BE */
00000260 286D 862E movea.l A4, [A5 - 0x79D2]
label00000264:
00000264 200C move.l D0, A4
00000266 6726 beq +0x28 /* 0000028E */
00000268 42A7 clr.l -[A7]
0000026A 2F0C move.l -[A7], A4
0000026C 4EBA 0808 jsr [PC + 0x808 /* 00000A76 */]
00000270 2E1F move.l D7, [A7]+
00000272 2046 movea.l A0, D6
00000274 200C move.l D0, A4
00000276 5880 addq.l D0, 4
00000278 B090 cmp.l D0, [A0]
0000027A 5FC0 sle D0
0000027C 2046 movea.l A0, D6
0000027E 220C move.l D1, A4
00000280 D287 add.l D1, D7
00000282 B290 cmp.l D1, [A0]
00000284 5CC1 sge D1
00000286 C001 and.b D0, D1
00000288 661A bne +0x1C /* 000002A4 */
0000028A 2854 movea.l A4, [A4]
0000028C 60D6 bra -0x28 /* 00000264 */
label0000028E:
0000028E 3B7C FBE4 8632 move.w [A5 - 0x79CE], 0xFBE4
00000294 4AAD 8636 tst.l [A5 - 0x79CA]
00000298 6708 beq +0xA /* 000002A2 */
0000029A 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
0000029E 4EBA 0542 jsr [PC + 0x542 /* 000007E2 */]
label000002A2:
000002A2 6020 bra +0x22 /* 000002C4 */
label000002A4:
000002A4 2B4C 8626 move.l [A5 - 0x79DA], A4
000002A8 2654 movea.l A3, [A4]
000002AA 4294 clr.l [A4]
000002AC 284B movea.l A4, A3
label000002AE:
000002AE 200C move.l D0, A4
000002B0 670C beq +0xE /* 000002BE */
000002B2 2654 movea.l A3, [A4]
000002B4 2F0C move.l -[A7], A4
000002B6 4EBA 07B4 jsr [PC + 0x7B4 /* 00000A6C */]
000002BA 284B movea.l A4, A3
000002BC 60F0 bra -0xE /* 000002AE */
label000002BE:
000002BE 2046 movea.l A0, D6
000002C0 2B50 861E move.l [A5 - 0x79E2], [A0]
label000002C4:
000002C4 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000002C8 4E5E unlink A6
000002CA 2E9F move.l [A7], [A7]+
000002CC 4E75 rts
000002CE A54D syscall PurgeMem, flags=5
000002D0 5952 subq.w [A2], 4
000002D2 454C chk.w D2, A4
000002D4 5345 subq.w D5, 1
000002D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000002D8-000002DC
fn000002D8:
000002D8 4E56 FF00 link A6, -0x0100
// end alternate branch 000002D8-000002DC
fn000002D8: // (misaligned)
000002DA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000002DC 206E 000C movea.l A0, [A6 + 0xC]
000002E0 43EE FF00 lea.l A1, [A6 - 0x100]
000002E4 7040 moveq.l D0, 0x40
label000002E6:
000002E6 22D8 move.l [A1]+, [A0]+
000002E8 5340 subq.w D0, 1
000002EA 6EFA bgt -0x4 /* 000002E6 */
000002EC 41EE FF00 lea.l A0, [A6 - 0x100]
000002F0 1F10 move.b -[A7], [A0]
000002F2 3F3C 00FF move.w -[A7], 0xFF
000002F6 4EBA 05B6 jsr [PC + 0x5B6 /* 000008AE */]
000002FA 2F08 move.l -[A7], A0
000002FC ABFF syscall DebugStr
000002FE 4E5E unlink A6
00000300 205F movea.l A0, [A7]+
00000302 504F addq.w A7, 8
00000304 4ED0 jmp [A0]
00000306 D042 add.w D0, D2
00000308 4144 chk.w D0, D4
0000030A 4845 swap.w D5
0000030C 4150 chk.w D0, [A0]
0000030E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000312 0000 102D ori.b D0, 0x2D /* '-' */
00000316 8635 0A00 or.b D3, [A5 + D0 * 2]
0000031A 0001 4A00 ori.b D1, 0x0
0000031E 6722 beq +0x24 /* 00000342 */
00000320 4AAD 861A tst.l [A5 - 0x79E6]
00000324 671C beq +0x1E /* 00000342 */
00000326 206D 861A movea.l A0, [A5 - 0x79E6]
0000032A 0C50 C0DA cmpi.w [A0], 0xC0DA
0000032E 670A beq +0xC /* 0000033A */
00000330 487A 001E pea.l [PC + 0x1E /* 00000350, value 0x1A546865, pstring "The Pascal Heap is corrupt" */]
00000334 2F0E move.l -[A7], A6
00000336 4EBA FFA0 jsr [PC - 0x60 /* 000002D8 */]
label0000033A:
0000033A 486D 861A pea.l [A5 - 0x79E6]
0000033E 4EBA FF0A jsr [PC - 0xF6 /* 0000024A */]
label00000342:
00000342 4E5E unlink A6
00000344 4E75 rts
00000346 C348 exg A1, A0
00000348 4543 chk.w D2, D3
0000034A 4B48 chk.w D5, A0
0000034C 4541 chk.w D2, D1
0000034E 001C 1A54 ori.b [A4]+, 0x54 /* 'T' */
00000352 6865 bvc +0x67 /* 000003B9 */
00000354 2050 movea.l A0, [A0]
00000356 6173 bsr +0x75 /* 000003CB */
00000358 6361 bls +0x63 /* 000003BB */
0000035A 6C20 bge +0x22 /* 0000037C */
0000035C 4865 pea.l -[A5]
0000035E 6170 bsr +0x72 /* 000003D0 */
00000360 2069 7320 movea.l A0, [A1 + 0x7320]
00000364 636F bls +0x71 /* 000003D5 */
00000366 7272 moveq.l D1, 0x72
00000368 7570 moveq.l D2, 0x70
0000036A 7400 moveq.l D2, 0x00
fn0000036C:
0000036C 4E56 0000 link A6, 0
00000370 102D 8635 move.b D0, [A5 - 0x79CB]
00000374 0A00 0001 xori.b D0, 0x1
00000378 4A00 tst.b D0
0000037A 6714 beq +0x16 /* 00000390 */
label0000037C:
0000037C 486D 861A pea.l [A5 - 0x79E6]
00000380 7002 moveq.l D0, 0x02
00000382 2F00 move.l -[A7], D0
00000384 4EBA 0158 jsr [PC + 0x158 /* 000004DE */]
00000388 206D 861A movea.l A0, [A5 - 0x79E6]
0000038C 30BC C0DA move.w [A0], 0xC0DA
label00000390:
00000390 4E5E unlink A6
00000392 4E75 rts
00000394 D345 addx.w D1, D5
00000396 5443 addq.w D3, 2
00000398 4845 swap.w D5
0000039A 434B chk.w D1, A3
0000039C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000039E-000003A2
fn0000039E:
0000039E 4E56 FFEE link A6, -0x0012
// end alternate branch 0000039E-000003A2
fn0000039E: // (misaligned)
000003A0 FFEE .invalid <<F/7/7>>
000003A2 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000003A6 102E 0008 move.b D0, [A6 + 0x8]
000003AA 6710 beq +0x12 /* 000003BC */
000003AC 41ED 862A lea.l A0, [A5 - 0x79D6]
000003B0 2848 movea.l A4, A0
000003B2 41ED 8622 lea.l A0, [A5 - 0x79DE]
000003B6 2A08 move.l D5, A0
000003B8 7C08 moveq.l D6, 0x08
000003BA 600E bra +0x10 /* 000003CA */
label000003BC:
000003BC 41ED 862E lea.l A0, [A5 - 0x79D2]
000003C0 2848 movea.l A4, A0
000003C2 41ED 8626 lea.l A0, [A5 - 0x79DA]
000003C6 2A08 move.l D5, A0
000003C8 7C04 moveq.l D6, 0x04
label000003CA:
000003CA 4A94 tst.l [A4]
000003CC 6600 0088 bne +0x8A /* 00000456 */
fn000003D0:
000003D0 2B6E 0010 863A move.l [A5 - 0x79C6], [A6 + 0x10]
000003D6 2B6E 000C 8636 move.l [A5 - 0x79CA], [A6 + 0xC]
000003DC 1B6E 000A 8634 move.b [A5 - 0x79CC], [A6 + 0xA]
000003E2 1B6E 0008 8635 move.b [A5 - 0x79CB], [A6 + 0x8]
000003E8 3006 move.w D0, D6
000003EA 48C0 ext.l D0
000003EC D1AD 863A add.l [A5 - 0x79C6], D0
000003F0 42A7 clr.l -[A7]
000003F2 2F2D 863A move.l -[A7], [A5 - 0x79C6]
000003F6 4EBA 0668 jsr [PC + 0x668 /* 00000A60 */]
000003FA 289F move.l [A4], [A7]+
000003FC 4267 clr.w -[A7]
000003FE 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000402 3B5F 8632 move.w [A5 - 0x79CE], [A7]+
00000406 4A6D 8632 tst.w [A5 - 0x79CE]
0000040A 663C bne +0x3E /* 00000448 */
0000040C 2654 movea.l A3, [A4]
0000040E 4293 clr.l [A3]
00000410 2045 movea.l A0, D5
00000412 2094 move.l [A0], [A4]
00000414 102D 8635 move.b D0, [A5 - 0x79CB]
00000418 6720 beq +0x22 /* 0000043A */
0000041A 268B move.l [A3], A3
0000041C 202D 862A move.l D0, [A5 - 0x79D6]
00000420 5080 addq.l D0, 8
00000422 2E00 move.l D7, D0
00000424 2047 movea.l A0, D7
00000426 4290 clr.l [A0]
00000428 202D 863A move.l D0, [A5 - 0x79C6]
0000042C 5180 subq.l D0, 8
0000042E 2047 movea.l A0, D7
00000430 2140 0004 move.l [A0 + 0x4], D0
00000434 2747 0004 move.l [A3 + 0x4], D7
00000438 601C bra +0x1E /* 00000456 */
label0000043A:
0000043A 2014 move.l D0, [A4]
0000043C 5880 addq.l D0, 4
0000043E 2B40 861E move.l [A5 - 0x79E2], D0
00000442 4EBA FF28 jsr [PC - 0xD8 /* 0000036C */]
00000446 600E bra +0x10 /* 00000456 */
label00000448:
00000448 4AAD 8636 tst.l [A5 - 0x79CA]
0000044C 6708 beq +0xA /* 00000456 */
0000044E 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
00000452 4EBA 038E jsr [PC + 0x38E /* 000007E2 */]
label00000456:
00000456 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
0000045A 4E5E unlink A6
0000045C 205F movea.l A0, [A7]+
0000045E DEFC 000C add.w A7, 0xC
00000462 4ED0 jmp [A0]
00000464 D04C add.w D0, A4
00000466 494E chk.w D4, A6
00000468 4954 chk.w D4, [A4]
0000046A 4845 swap.w D5
0000046C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1: // at 0000046E (misaligned)
00000470 0000 4EBA ori.b D0, 0xBA
00000474 FE9C 2F2E .extension 0xE9C <<F/2-3/7>> // unimplemented
00000478 000A 4280 ori.b A2, 0x80
0000047C 302E 0008 move.w D0, [A6 + 0x8]
00000480 C0BC 0000 FFFF and.l D0, 0xFFFF
00000486 2F00 move.l -[A7], D0
00000488 4EBA 0054 jsr [PC + 0x54 /* 000004DE */]
0000048C 4EBA FEDE jsr [PC - 0x122 /* 0000036C */]
00000490 4E5E unlink A6
00000492 205F movea.l A0, [A7]+
00000494 5C4F addq.w A7, 6
00000496 4ED0 jmp [A0]
00000498 A55F syscall NMRemove, flags=5
0000049A 4E45 trap 5
0000049C 5720 subq.b -[A0], 3
0000049E 2020 move.l D0, -[A0]
000004A0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004A2-000004A8
fn000004A2:
000004A2 4E56 0000 link A6, 0
000004A6 2F0C move.l -[A7], A4
// end alternate branch 000004A2-000004A8
fn000004A2: // (misaligned)
000004A4 0000 2F0C ori.b D0, 0xC
000004A8 286E 0008 movea.l A4, [A6 + 0x8]
000004AC 206C 000C movea.l A0, [A4 + 0xC]
000004B0 20AD 861E move.l [A0], [A5 - 0x79E2]
000004B4 206C 000C movea.l A0, [A4 + 0xC]
000004B8 2F10 move.l -[A7], [A0]
000004BA 3F2C 000A move.w -[A7], [A4 + 0xA]
000004BE 4267 clr.w -[A7]
000004C0 4EBA 03D8 jsr [PC + 0x3D8 /* 0000089A */]
000004C4 202C 0008 move.l D0, [A4 + 0x8]
000004C8 D1AD 861E add.l [A5 - 0x79E2], D0
000004CC 285F movea.l A4, [A7]+
000004CE 4E5E unlink A6
000004D0 2E9F move.l [A7], [A7]+
000004D2 4E75 rts
000004D4 C745 exg D3, D5
000004D6 5453 addq.w [A3], 2
000004D8 5041 addq.w D1, 8
000004DA 4345 chk.w D1, D5
000004DC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004DE-000004E2
fn000004DE:
000004DE 4E56 FFF0 link A6, -0x0010
// end alternate branch 000004DE-000004E2
fn000004DE: // (misaligned)
000004E0 FFF0 .invalid <<F/7/7>>
000004E2 48E7 0308 movem.l -[A7], D6,D7,A4
000004E6 426D 8632 clr.w [A5 - 0x79CE]
000004EA 206E 000C movea.l A0, [A6 + 0xC]
000004EE 4290 clr.l [A0]
000004F0 202E 0008 move.l D0, [A6 + 0x8]
000004F4 B0AD 863A cmp.l D0, [A5 - 0x79C6]
000004F8 6F18 ble +0x1A /* 00000512 */
000004FA 3B7C FBE5 8632 move.w [A5 - 0x79CE], 0xFBE5
00000500 4AAD 8636 tst.l [A5 - 0x79CA]
00000504 6708 beq +0xA /* 0000050E */
00000506 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
0000050A 4EBA 02D6 jsr [PC + 0x2D6 /* 000007E2 */]
label0000050E:
0000050E 6000 0102 bra +0x104 /* 00000612 */
label00000512:
00000512 102D 8635 move.b D0, [A5 - 0x79CB]
00000516 0A00 0001 xori.b D0, 0x1
0000051A 4A00 tst.b D0
0000051C 6700 00E8 beq +0xEA /* 00000606 */
00000520 4AAD 862E tst.l [A5 - 0x79D2]
00000524 6610 bne +0x12 /* 00000536 */
00000526 2F3C 0000 1388 move.l -[A7], 0x1388
0000052C 42A7 clr.l -[A7]
0000052E 4267 clr.w -[A7]
00000530 4267 clr.w -[A7]
00000532 4EBA FE6A jsr [PC - 0x196 /* 0000039E */]
label00000536:
00000536 4A6D 8632 tst.w [A5 - 0x79CE]
0000053A 6704 beq +0x6 /* 00000540 */
0000053C 6000 00D4 bra +0xD6 /* 00000612 */
label00000540:
00000540 42A7 clr.l -[A7]
00000542 2F2D 8626 move.l -[A7], [A5 - 0x79DA]
00000546 4EBA 052E jsr [PC + 0x52E /* 00000A76 */]
0000054A 2C1F move.l D6, [A7]+
0000054C 202E 0008 move.l D0, [A6 + 0x8]
00000550 D0AD 861E add.l D0, [A5 - 0x79E2]
00000554 90AD 8626 sub.l D0, [A5 - 0x79DA]
00000558 2E00 move.l D7, D0
0000055A 2006 move.l D0, D6
0000055C B087 cmp.l D0, D7
0000055E 6D0A blt +0xC /* 0000056A */
00000560 2F0E move.l -[A7], A6
00000562 4EBA FF3E jsr [PC - 0xC2 /* 000004A2 */]
00000566 6000 00AA bra +0xAC /* 00000612 */
label0000056A:
0000056A 2F2D 8626 move.l -[A7], [A5 - 0x79DA]
0000056E 2F07 move.l -[A7], D7
00000570 4EBA 0518 jsr [PC + 0x518 /* 00000A8A */]
00000574 4267 clr.w -[A7]
00000576 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000057A 3B5F 8632 move.w [A5 - 0x79CE], [A7]+
0000057E 4A6D 8632 tst.w [A5 - 0x79CE]
00000582 6608 bne +0xA /* 0000058C */
00000584 2F0E move.l -[A7], A6
00000586 4EBA FF1A jsr [PC - 0xE6 /* 000004A2 */]
0000058A 6078 bra +0x7A /* 00000604 */
label0000058C:
0000058C 102D 8634 move.b D0, [A5 - 0x79CC]
00000590 6764 beq +0x66 /* 000005F6 */
00000592 206E 000C movea.l A0, [A6 + 0xC]
00000596 2F08 move.l -[A7], A0
00000598 42A7 clr.l -[A7]
0000059A 2F2D 863A move.l -[A7], [A5 - 0x79C6]
0000059E 4EBA 04C0 jsr [PC + 0x4C0 /* 00000A60 */]
000005A2 201F move.l D0, [A7]+
000005A4 205F movea.l A0, [A7]+
000005A6 2080 move.l [A0], D0
000005A8 4267 clr.w -[A7]
000005AA 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000005AE 3B5F 8632 move.w [A5 - 0x79CE], [A7]+
000005B2 4A6D 8632 tst.w [A5 - 0x79CE]
000005B6 662E bne +0x30 /* 000005E6 */
000005B8 206E 000C movea.l A0, [A6 + 0xC]
000005BC 2850 movea.l A4, [A0]
000005BE 4294 clr.l [A4]
000005C0 286D 8626 movea.l A4, [A5 - 0x79DA]
000005C4 206E 000C movea.l A0, [A6 + 0xC]
000005C8 2890 move.l [A4], [A0]
000005CA 206E 000C movea.l A0, [A6 + 0xC]
000005CE 2B50 8626 move.l [A5 - 0x79DA], [A0]
000005D2 206E 000C movea.l A0, [A6 + 0xC]
000005D6 2010 move.l D0, [A0]
000005D8 5880 addq.l D0, 4
000005DA 2B40 861E move.l [A5 - 0x79E2], D0
000005DE 2F0E move.l -[A7], A6
000005E0 4EBA FEC0 jsr [PC - 0x140 /* 000004A2 */]
000005E4 602C bra +0x2E /* 00000612 */
label000005E6:
000005E6 4AAD 8636 tst.l [A5 - 0x79CA]
000005EA 6708 beq +0xA /* 000005F4 */
000005EC 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
000005F0 4EBA 01F0 jsr [PC + 0x1F0 /* 000007E2 */]
label000005F4:
000005F4 601C bra +0x1E /* 00000612 */
label000005F6:
000005F6 4AAD 8636 tst.l [A5 - 0x79CA]
000005FA 6708 beq +0xA /* 00000604 */
000005FC 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
00000600 4EBA 01E0 jsr [PC + 0x1E0 /* 000007E2 */]
label00000604:
00000604 600C bra +0xE /* 00000612 */
label00000606:
00000606 2F2E 000C move.l -[A7], [A6 + 0xC]
0000060A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000060E 4EBA 00E8 jsr [PC + 0xE8 /* 000006F8 */]
label00000612:
00000612 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000616 4E5E unlink A6
00000618 205F movea.l A0, [A7]+
0000061A 504F addq.w A7, 8
0000061C 4ED0 jmp [A0]
0000061E A55F syscall NMRemove, flags=5
00000620 4E45 trap 5
00000622 574C subq.w A4, 3
00000624 2020 move.l D0, -[A0]
00000626 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000628-0000062C
fn00000628:
00000628 4E56 FFF8 link A6, -0x0008
// end alternate branch 00000628-0000062C
fn00000628: // (misaligned)
0000062A FFF8 .invalid <<F/7/7>>
0000062C 48E7 0118 movem.l -[A7], D7,A3,A4
00000630 286E 0008 movea.l A4, [A6 + 0x8]
00000634 296D 8622 FFFC move.l [A4 - 0x4], [A5 - 0x79DE]
label0000063A:
0000063A 206C FFFC movea.l A0, [A4 - 0x4]
0000063E 5888 addq.l A0, 4
00000640 2948 FFF0 move.l [A4 - 0x10], A0
00000644 206C FFFC movea.l A0, [A4 - 0x4]
00000648 2968 0004 FFF4 move.l [A4 - 0xC], [A0 + 0x4]
label0000064E:
0000064E 4AAC FFF4 tst.l [A4 - 0xC]
00000652 6776 beq +0x78 /* 000006CA */
00000654 206C FFF4 movea.l A0, [A4 - 0xC]
00000658 2028 0004 move.l D0, [A0 + 0x4]
0000065C 90AC 0008 sub.l D0, [A4 + 0x8]
00000660 2E00 move.l D7, D0
00000662 4A87 tst.l D7
00000664 6D54 blt +0x56 /* 000006BA */
00000666 202C FFF4 move.l D0, [A4 - 0xC]
0000066A 5480 addq.l D0, 2
0000066C 206C 000C movea.l A0, [A4 + 0xC]
00000670 2080 move.l [A0], D0
00000672 266C FFF4 movea.l A3, [A4 - 0xC]
00000676 0C87 0000 0008 cmpi.l D7, 0x8
0000067C 6E10 bgt +0x12 /* 0000068E */
0000067E 206C FFF4 movea.l A0, [A4 - 0xC]
00000682 226C FFF0 movea.l A1, [A4 - 0x10]
00000686 2290 move.l [A1], [A0]
00000688 2007 move.l D0, D7
0000068A 3680 move.w [A3], D0
0000068C 6056 bra +0x58 /* 000006E4 */
label0000068E:
0000068E 202C 0008 move.l D0, [A4 + 0x8]
00000692 D0AC FFF4 add.l D0, [A4 - 0xC]
00000696 2940 FFF8 move.l [A4 - 0x8], D0
0000069A 206C FFF4 movea.l A0, [A4 - 0xC]
0000069E 226C FFF8 movea.l A1, [A4 - 0x8]
000006A2 2290 move.l [A1], [A0]
000006A4 206C FFF8 movea.l A0, [A4 - 0x8]
000006A8 2147 0004 move.l [A0 + 0x4], D7
000006AC 206C FFF0 movea.l A0, [A4 - 0x10]
000006B0 20AC FFF8 move.l [A0], [A4 - 0x8]
000006B4 4253 clr.w [A3]
000006B6 602C bra +0x2E /* 000006E4 */
000006B8 600E bra +0x10 /* 000006C8 */
label000006BA:
000006BA 296C FFF4 FFF0 move.l [A4 - 0x10], [A4 - 0xC]
000006C0 206C FFF4 movea.l A0, [A4 - 0xC]
000006C4 2950 FFF4 move.l [A4 - 0xC], [A0]
label000006C8:
000006C8 6084 bra -0x7A /* 0000064E */
label000006CA:
000006CA 206C FFFC movea.l A0, [A4 - 0x4]
000006CE 2950 FFFC move.l [A4 - 0x4], [A0]
000006D2 202C FFFC move.l D0, [A4 - 0x4]
000006D6 B0AD 8622 cmp.l D0, [A5 - 0x79DE]
000006DA 6600 FF5E bne -0xA0 /* 0000063A */
000006DE 3B7C FBE3 8632 move.w [A5 - 0x79CE], 0xFBE3
label000006E4:
000006E4 4CDF 1880 movem.l D7,A3,A4, [A7]+
000006E8 4E5E unlink A6
000006EA 2E9F move.l [A7], [A7]+
000006EC 4E75 rts
000006EE C745 exg D3, D5
000006F0 5446 addq.w D6, 2
000006F2 4C53 5041 movem.l D0,D6,A4,A6, [A3]
000006F6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000006F8-000006FC
fn000006F8:
000006F8 4E56 FFE4 link A6, -0x001C
// end alternate branch 000006F8-000006FC
fn000006F8: // (misaligned)
000006FA FFE4 .invalid <<F/7/7>>
000006FC 426D 8632 clr.w [A5 - 0x79CE]
00000700 54AE 0008 addq.l [A6 + 0x8], 2
00000704 4AAD 862A tst.l [A5 - 0x79D6]
00000708 6612 bne +0x14 /* 0000071C */
0000070A 2F3C 0000 1388 move.l -[A7], 0x1388
00000710 42A7 clr.l -[A7]
00000712 4267 clr.w -[A7]
00000714 1F3C 0001 move.b -[A7], 0x1
00000718 4EBA FC84 jsr [PC - 0x37C /* 0000039E */]
label0000071C:
0000071C 2F0E move.l -[A7], A6
0000071E 4EBA FF08 jsr [PC - 0xF8 /* 00000628 */]
00000722 4A6D 8632 tst.w [A5 - 0x79CE]
00000726 6700 00A8 beq +0xAA /* 000007D0 */
0000072A 102D 8634 move.b D0, [A5 - 0x79CC]
0000072E 6700 0092 beq +0x94 /* 000007C2 */
00000732 206E 000C movea.l A0, [A6 + 0xC]
00000736 2F08 move.l -[A7], A0
00000738 42A7 clr.l -[A7]
0000073A 2F2D 863A move.l -[A7], [A5 - 0x79C6]
0000073E 4EBA 0320 jsr [PC + 0x320 /* 00000A60 */]
00000742 201F move.l D0, [A7]+
00000744 205F movea.l A0, [A7]+
00000746 2080 move.l [A0], D0
00000748 4267 clr.w -[A7]
0000074A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000074E 3B5F 8632 move.w [A5 - 0x79CE], [A7]+
00000752 4A6D 8632 tst.w [A5 - 0x79CE]
00000756 665A bne +0x5C /* 000007B2 */
00000758 206E 000C movea.l A0, [A6 + 0xC]
0000075C 2D50 FFFC move.l [A6 - 0x4], [A0]
00000760 206E FFFC movea.l A0, [A6 - 0x4]
00000764 20AD 862A move.l [A0], [A5 - 0x79D6]
00000768 206E 000C movea.l A0, [A6 + 0xC]
0000076C 2010 move.l D0, [A0]
0000076E 5080 addq.l D0, 8
00000770 2D40 FFF4 move.l [A6 - 0xC], D0
00000774 206E FFF4 movea.l A0, [A6 - 0xC]
00000778 4290 clr.l [A0]
0000077A 202D 863A move.l D0, [A5 - 0x79C6]
0000077E 5180 subq.l D0, 8
00000780 206E FFF4 movea.l A0, [A6 - 0xC]
00000784 2140 0004 move.l [A0 + 0x4], D0
00000788 206E FFFC movea.l A0, [A6 - 0x4]
0000078C 216E FFF4 0004 move.l [A0 + 0x4], [A6 - 0xC]
00000792 2D6D 8622 FFFC move.l [A6 - 0x4], [A5 - 0x79DE]
00000798 206E 000C movea.l A0, [A6 + 0xC]
0000079C 226E FFFC movea.l A1, [A6 - 0x4]
000007A0 2290 move.l [A1], [A0]
000007A2 206E 000C movea.l A0, [A6 + 0xC]
000007A6 2B50 8622 move.l [A5 - 0x79DE], [A0]
000007AA 2F0E move.l -[A7], A6
000007AC 4EBA FE7A jsr [PC - 0x186 /* 00000628 */]
000007B0 601E bra +0x20 /* 000007D0 */
label000007B2:
000007B2 4AAD 8636 tst.l [A5 - 0x79CA]
000007B6 6708 beq +0xA /* 000007C0 */
000007B8 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
000007BC 4EBA 0024 jsr [PC + 0x24 /* 000007E2 */]
label000007C0:
000007C0 600E bra +0x10 /* 000007D0 */
label000007C2:
000007C2 4AAD 8636 tst.l [A5 - 0x79CA]
000007C6 6708 beq +0xA /* 000007D0 */
000007C8 2F2D 8636 move.l -[A7], [A5 - 0x79CA]
000007CC 4EBA 0014 jsr [PC + 0x14 /* 000007E2 */]
label000007D0:
000007D0 4E5E unlink A6
000007D2 205F movea.l A0, [A7]+
000007D4 504F addq.w A7, 8
000007D6 4ED0 jmp [A0]
000007D8 C745 exg D3, D5
000007DA 5446 addq.w D6, 2
000007DC 524F addq.w A7, 1
000007DE 4D46 chk.w D6, D6
000007E0 0000 205F ori.b D0, 0x5F /* '_' */
// begin alternate branch 000007E2-000007E4
fn000007E2:
000007E2 205F movea.l A0, [A7]+
// end alternate branch 000007E2-000007E4
fn000007E2: // (misaligned)
000007E4 225F movea.l A1, [A7]+
000007E6 2F08 move.l -[A7], A0
000007E8 4E91 jsr [A1]
000007EA 4E75 rts
export_2:
000007EC 4E56 0000 link A6, 0
000007F0 2F00 move.l -[A7], D0
000007F2 2F01 move.l -[A7], D1
000007F4 202F 0014 move.l D0, [A7 + 0x14]
000007F8 222F 0010 move.l D1, [A7 + 0x10]
000007FC 4EBA 003A jsr [PC + 0x3A /* 00000838 */]
00000800 2F41 0014 move.l [A7 + 0x14], D1
00000804 221F move.l D1, [A7]+
00000806 201F move.l D0, [A7]+
00000808 4E5E unlink A6
0000080A 2F57 0004 move.l [A7 + 0x4], [A7]
0000080E 588F addq.l A7, 4
00000810 4E75 rts
fn00000812:
00000812 4E56 0000 link A6, 0
00000816 2F00 move.l -[A7], D0
00000818 2F01 move.l -[A7], D1
0000081A 202F 0014 move.l D0, [A7 + 0x14]
0000081E 222F 0010 move.l D1, [A7 + 0x10]
00000822 4EBA 0014 jsr [PC + 0x14 /* 00000838 */]
00000826 2F40 0014 move.l [A7 + 0x14], D0
0000082A 221F move.l D1, [A7]+
0000082C 201F move.l D0, [A7]+
0000082E 4E5E unlink A6
00000830 2F57 0004 move.l [A7 + 0x4], [A7]
00000834 588F addq.l A7, 4
00000836 4E75 rts
fn00000838:
00000838 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
0000083C 2A00 move.l D5, D0
0000083E 6A02 bpl +0x4 /* 00000842 */
00000840 4480 neg.l D0
label00000842:
00000842 2C01 move.l D6, D1
00000844 6A02 bpl +0x4 /* 00000848 */
00000846 4481 neg.l D1
label00000848:
00000848 2401 move.l D2, D1
0000084A 4842 swap.w D2
0000084C 4A42 tst.w D2
0000084E 661C bne +0x1E /* 0000086C */
00000850 3600 move.w D3, D0
00000852 4240 clr.w D0
00000854 4840 swap.w D0
00000856 6704 beq +0x6 /* 0000085C */
00000858 80C1 divu.w D0, D1
0000085A 3400 move.w D2, D0
label0000085C:
0000085C 4842 swap.w D2
0000085E 3003 move.w D0, D3
00000860 80C1 divu.w D0, D1
00000862 3400 move.w D2, D0
00000864 2202 move.l D1, D2
00000866 4240 clr.w D0
00000868 4840 swap.w D0
0000086A 601C bra +0x1E /* 00000888 */
label0000086C:
0000086C 2400 move.l D2, D0
0000086E 2601 move.l D3, D1
00000870 7000 moveq.l D0, 0x00
00000872 7200 moveq.l D1, 0x00
00000874 781F moveq.l D4, 0x1F
label00000876:
00000876 D482 add.l D2, D2
00000878 D180 addx.l D0, D0
0000087A D281 add.l D1, D1
0000087C B083 cmp.l D0, D3
0000087E 6D04 blt +0x6 /* 00000884 */
00000880 9083 sub.l D0, D3
00000882 5201 addq.b D1, 1
label00000884:
00000884 51CC FFF0 dbf D4, -0x12 /* 00000876 */
label00000888:
00000888 4A85 tst.l D5
0000088A 6A02 bpl +0x4 /* 0000088E */
0000088C 4480 neg.l D0
label0000088E:
0000088E BB86 xor.l D6, D5
00000890 6A02 bpl +0x4 /* 00000894 */
00000892 4481 neg.l D1
label00000894:
00000894 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
00000898 4E75 rts
fn0000089A:
0000089A 225F movea.l A1, [A7]+
0000089C 301F move.w D0, [A7]+
0000089E 321F move.w D1, [A7]+
000008A0 205F movea.l A0, [A7]+
000008A2 6F08 ble +0xA /* 000008AC */
000008A4 6002 bra +0x4 /* 000008A8 */
label000008A6:
000008A6 10C0 move.b [A0]+, D0
label000008A8:
000008A8 51C9 FFFC dbf D1, -0x6 /* 000008A6 */
label000008AC:
000008AC 4ED1 jmp [A1]
fn000008AE:
000008AE 4E56 0000 link A6, 0
000008B2 2F00 move.l -[A7], D0
000008B4 7000 moveq.l D0, 0x00
000008B6 102E 000A move.b D0, [A6 + 0xA]
000008BA B06E 0008 cmp.w D0, [A6 + 0x8]
000008BE 6F06 ble +0x8 /* 000008C6 */
000008C0 487A 0014 pea.l [PC + 0x14 /* 000008D6, value 0x18537472, pstring "String Range Check Abort" */]
000008C4 ABFF syscall DebugStr
label000008C6:
000008C6 201F move.l D0, [A7]+
000008C8 4E5E unlink A6
000008CA 2E9F move.l [A7], [A7]+
000008CC 4E75 rts
000008CE 5354 subq.w [A4], 1
000008D0 5252 addq.w [A2], 1
000008D2 4743 chk.w D3, D3
000008D4 484B pea.l A3
000008D6 1853 movea.b A4, [A3]
000008D8 7472 moveq.l D2, 0x72
000008DA 696E bvs +0x70 /* 0000094A */
000008DC 6720 beq +0x22 /* 000008FE */
000008DE 5261 addq.w -[A1], 1
000008E0 6E67 bgt +0x69 /* 00000949 */
000008E2 6520 bcs +0x22 /* 00000904 */
000008E4 4368 6563 chk.w D1, [A0 + 0x6563]
000008E8 6B20 bmi +0x22 /* 0000090A */
000008EA 4162 chk.w D0, -[A2]
000008EC 6F72 ble +0x74 /* 00000960 */
000008EE 7400 moveq.l D2, 0x00
export_3:
000008F0 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
000008F4 322F 0024 move.w D1, [A7 + 0x24]
000008F8 302F 0026 move.w D0, [A7 + 0x26]
000008FC 42AF 0024 clr.l [A7 + 0x24]
// begin alternate branch 000008FE-00000908
label000008FE:
000008FE 0024 41EF ori.b -[A4], 0xEF
00000902 0028 4A40 6A02 ori.b [A0 + 0x6A02], 0x40 /* '@' */
// end alternate branch 000008FE-00000908
label000008FE: // (misaligned)
00000900 41EF 0028 lea.l A0, [A7 + 0x28]
label00000904:
00000904 4A40 tst.w D0
00000906 6A02 bpl +0x4 /* 0000090A */
00000908 4240 clr.w D0
label0000090A:
0000090A B240 cmp.w D1, D0
0000090C 6D48 blt +0x4A /* 00000956 */
0000090E 3401 move.w D2, D1
00000910 E84A lsr D2.w, 4
00000912 3602 move.w D3, D2
00000914 E34B lsl D3.w, 1
00000916 6716 beq +0x18 /* 0000092E */
00000918 224F movea.l A1, A7
0000091A 9EC3 sub.w A7, D3
0000091C 244F movea.l A2, A7
0000091E 383C 0012 move.w D4, 0x12
label00000922:
00000922 34D9 move.w [A2]+, [A1]+
00000924 5344 subq.w D4, 1
00000926 66FA bne -0x4 /* 00000922 */
label00000928:
00000928 425A clr.w [A2]+
0000092A 5342 subq.w D2, 1
0000092C 66FA bne -0x4 /* 00000928 */
label0000092E:
0000092E 5443 addq.w D3, 2
00000930 3F43 0024 move.w [A7 + 0x24], D3
label00000934:
00000934 3400 move.w D2, D0
00000936 3602 move.w D3, D2
00000938 E84A lsr D2.w, 4
0000093A E34A lsl D2.w, 1
0000093C 4442 neg.w D2
0000093E 0243 000F andi.w D3, 0xF
00000942 4244 clr.w D4
00000944 07C4 .incomplete
00000946 8970 20FE or.w [A0 + D2.w - 0x2], D4
label0000094A:
0000094A 5240 addq.w D0, 1
0000094C B240 cmp.w D1, D0
0000094E 6CE4 bge -0x1A /* 00000934 */
00000950 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
00000954 4E75 rts
label00000956:
00000956 206F 0020 movea.l A0, [A7 + 0x20]
0000095A 2F48 0022 move.l [A7 + 0x22], A0
0000095E 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
// begin alternate branch 00000960-00000962
label00000960:
00000960 071F btst [A7]+, D3
// end alternate branch 00000960-00000962
label00000960: // (misaligned)
00000962 4A5F tst.w [A7]+
00000964 4E75 rts
export_4:
00000966 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
0000096A 302F 001C move.w D0, [A7 + 0x1C]
0000096E 206F 001E movea.l A0, [A7 + 0x1E]
00000972 43EF 0022 lea.l A1, [A7 + 0x22]
00000976 3400 move.w D2, D0
00000978 E54A lsl D2.w, 2
0000097A D2C2 add.w A1, D2
0000097C 4241 clr.w D1
0000097E 5288 addq.l A0, 1
00000980 6010 bra +0x12 /* 00000992 */
label00000982:
00000982 2461 movea.l A2, -[A1]
00000984 4242 clr.w D2
00000986 141A move.b D2, [A2]+
00000988 D242 add.w D1, D2
0000098A 6002 bra +0x4 /* 0000098E */
label0000098C:
0000098C 10DA move.b [A0]+, [A2]+
label0000098E:
0000098E 51CA FFFC dbf D2, -0x6 /* 0000098C */
label00000992:
00000992 51C8 FFEE dbf D0, -0x14 /* 00000982 */
00000996 206F 001E movea.l A0, [A7 + 0x1E]
0000099A 1081 move.b [A0], D1
0000099C 43EF 0022 lea.l A1, [A7 + 0x22]
000009A0 302F 001C move.w D0, [A7 + 0x1C]
000009A4 E548 lsl D0.w, 2
000009A6 D2C0 add.w A1, D0
000009A8 232F 0018 move.l -[A1], [A7 + 0x18]
000009AC 2F49 0018 move.l [A7 + 0x18], A1
000009B0 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
000009B4 2E5F movea.l A7, [A7]+
000009B6 4E75 rts
export_5:
000009B8 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000009BC 206F 0018 movea.l A0, [A7 + 0x18]
000009C0 302F 001C move.w D0, [A7 + 0x1C]
000009C4 6F40 ble +0x42 /* 00000A06 */
000009C6 0C40 00FF cmpi.w D0, 0xFF
000009CA 6E3A bgt +0x3C /* 00000A06 */
000009CC 322F 001E move.w D1, [A7 + 0x1E]
000009D0 6F34 ble +0x36 /* 00000A06 */
000009D2 0C41 00FF cmpi.w D1, 0xFF
000009D6 6E2E bgt +0x30 /* 00000A06 */
000009D8 5341 subq.w D1, 1
000009DA 226F 0020 movea.l A1, [A7 + 0x20]
000009DE 4242 clr.w D2
000009E0 1419 move.b D2, [A1]+
000009E2 9441 sub.w D2, D1
000009E4 9440 sub.w D2, D0
000009E6 6D1E blt +0x20 /* 00000A06 */
000009E8 D2C1 add.w A1, D1
000009EA 10C0 move.b [A0]+, D0
000009EC 6002 bra +0x4 /* 000009F0 */
label000009EE:
000009EE 10D9 move.b [A0]+, [A1]+
label000009F0:
000009F0 51C8 FFFC dbf D0, -0x6 /* 000009EE */
label000009F4:
000009F4 2F6F 0014 0020 move.l [A7 + 0x20], [A7 + 0x14]
000009FA 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000009FE DFFC 0000 000C add.l A7, 0xC
00000A04 4E75 rts
label00000A06:
00000A06 4210 clr.b [A0]
00000A08 60EA bra -0x14 /* 000009F4 */
00000A0A 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000A0E 7201 moveq.l D1, 0x01
00000A10 6006 bra +0x8 /* 00000A18 */
export_6:
00000A12 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000A16 4241 clr.w D1
label00000A18:
00000A18 206F 0018 movea.l A0, [A7 + 0x18]
00000A1C 226F 0014 movea.l A1, [A7 + 0x14]
00000A20 4240 clr.w D0
00000A22 1018 move.b D0, [A0]+
00000A24 B019 cmp.b D0, [A1]+
00000A26 660E bne +0x10 /* 00000A36 */
00000A28 6004 bra +0x6 /* 00000A2E */
label00000A2A:
00000A2A B308 cmpm.b [A1]+, [A0]+
00000A2C 6608 bne +0xA /* 00000A36 */
label00000A2E:
00000A2E 5340 subq.w D0, 1
00000A30 6AF8 bpl -0x6 /* 00000A2A */
00000A32 0A41 0001 xori.w D1, 0x1
label00000A36:
00000A36 1F41 001A move.b [A7 + 0x1A], D1
00000A3A 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
00000A40 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000A44 5C8F addq.l A7, 6
00000A46 4E75 rts
00000A48 225F movea.l A1, [A7]+
00000A4A 201F move.l D0, [A7]+
00000A4C A04C syscall CompactMem
00000A4E 2E80 move.l [A7], D0
00000A50 4E71 nop
label00000A52:
00000A52 7000 moveq.l D0, 0x00
label00000A54:
00000A54 2F09 move.l -[A7], A1
label00000A56:
00000A56 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000A5A 4E75 rts
00000A5C 7000 moveq.l D0, 0x00
00000A5E 60F6 bra -0x8 /* 00000A56 */
fn00000A60:
00000A60 225F movea.l A1, [A7]+
00000A62 201F move.l D0, [A7]+
00000A64 A11E syscall NewPtr, flags=1
00000A66 2E88 move.l [A7], A0
00000A68 4EFA FFEA jmp [PC - 0x16 /* 00000A54 */]
fn00000A6C:
00000A6C 225F movea.l A1, [A7]+
00000A6E 205F movea.l A0, [A7]+
00000A70 A01F syscall DisposPtr/DisposePtr
00000A72 4EFA FFE0 jmp [PC - 0x20 /* 00000A54 */]
fn00000A76:
00000A76 225F movea.l A1, [A7]+
00000A78 205F movea.l A0, [A7]+
00000A7A A021 syscall GetPtrSize
00000A7C 2E80 move.l [A7], D0
00000A7E 6A06 bpl +0x8 /* 00000A86 */
00000A80 4297 clr.l [A7]
00000A82 4EFA FFD0 jmp [PC - 0x30 /* 00000A54 */]
label00000A86:
00000A86 4EFA FFCA jmp [PC - 0x36 /* 00000A52 */]
fn00000A8A:
00000A8A 225F movea.l A1, [A7]+
00000A8C 201F move.l D0, [A7]+
00000A8E 205F movea.l A0, [A7]+
00000A90 A020 syscall SetPtrSize
00000A92 4EFA FFC0 jmp [PC - 0x40 /* 00000A54 */]
export_7:
00000A96 225F movea.l A1, [A7]+
00000A98 201F move.l D0, [A7]+
00000A9A A122 syscall NewHandle, flags=1
00000A9C 2E88 move.l [A7], A0
00000A9E 4EFA FFB4 jmp [PC - 0x4C /* 00000A54 */]
export_8:
00000AA2 225F movea.l A1, [A7]+
00000AA4 205F movea.l A0, [A7]+
00000AA6 A023 syscall DisposHandle/DisposeHandle
00000AA8 4EFA FFAA jmp [PC - 0x56 /* 00000A54 */]
export_9:
00000AAC 225F movea.l A1, [A7]+
00000AAE 205F movea.l A0, [A7]+
00000AB0 A029 syscall HLock
00000AB2 4EFA FFA0 jmp [PC - 0x60 /* 00000A54 */]
export_10:
fn00000AB6:
00000AB6 225F movea.l A1, [A7]+
00000AB8 205F movea.l A0, [A7]+
00000ABA A02A syscall HUnlock
00000ABC 4EFA FF96 jmp [PC - 0x6A /* 00000A54 */]
export_11:
00000AC0 225F movea.l A1, [A7]+
00000AC2 205F movea.l A0, [A7]+
00000AC4 A04A syscall HNoPurge
00000AC6 4EFA FF8C jmp [PC - 0x74 /* 00000A54 */]
export_12:
00000ACA 225F movea.l A1, [A7]+
00000ACC 205F movea.l A0, [A7]+
00000ACE 2F09 move.l -[A7], A1
00000AD0 A039 syscall ReadDateTime
00000AD2 3F40 0004 move.w [A7 + 0x4], D0
00000AD6 4E75 rts
export_13:
00000AD8 4E56 0000 link A6, 0
00000ADC 206E 0010 movea.l A0, [A6 + 0x10]
00000AE0 226E 000C movea.l A1, [A6 + 0xC]
00000AE4 7000 moveq.l D0, 0x00
00000AE6 1018 move.b D0, [A0]+
00000AE8 4840 swap.w D0
00000AEA 1019 move.b D0, [A1]+
00000AEC 4A2E 0008 tst.b [A6 + 0x8]
00000AF0 670E beq +0x10 /* 00000B00 */
00000AF2 4A2E 000A tst.b [A6 + 0xA]
00000AF6 6704 beq +0x6 /* 00000AFC */
00000AF8 A43C syscall CmpString, flags=4
00000AFA 6010 bra +0x12 /* 00000B0C */
label00000AFC:
00000AFC A03C syscall CmpString
00000AFE 600C bra +0xE /* 00000B0C */
label00000B00:
00000B00 4A2E 000A tst.b [A6 + 0xA]
00000B04 6704 beq +0x6 /* 00000B0A */
00000B06 A63C syscall CmpString, flags=6
00000B08 6002 bra +0x4 /* 00000B0C */
label00000B0A:
00000B0A A23C syscall CmpString, flags=2
label00000B0C:
00000B0C 0A00 0001 xori.b D0, 0x1
00000B10 1D40 0014 move.b [A6 + 0x14], D0
00000B14 4E5E unlink A6
00000B16 205F movea.l A0, [A7]+
00000B18 DFFC 0000 000C add.l A7, 0xC
00000B1E 4ED0 jmp [A0]
export_14:
00000B20 4E56 FFCE link A6, -0x0032
00000B24 41EE FFCE lea.l A0, [A6 - 0x32]
00000B28 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000B2E 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000B34 4228 001A clr.b [A0 + 0x1A]
00000B38 4228 001B clr.b [A0 + 0x1B]
00000B3C 42A8 001C clr.l [A0 + 0x1C]
00000B40 A000 syscall Open/PBHOpen/HOpen
00000B42 226E 0008 movea.l A1, [A6 + 0x8]
00000B46 32A8 0018 move.w [A1], [A0 + 0x18]
00000B4A 3D40 0012 move.w [A6 + 0x12], D0
00000B4E 4E5E unlink A6
00000B50 205F movea.l A0, [A7]+
00000B52 DFFC 0000 000A add.l A7, 0xA /* '\n' */
00000B58 4ED0 jmp [A0]
export_15:
00000B5A 4E56 FFCE link A6, -0x0032
00000B5E 41EE FFCE lea.l A0, [A6 - 0x32]
00000B62 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000B68 A001 syscall Close
00000B6A 3D40 000A move.w [A6 + 0xA], D0
00000B6E 4E5E unlink A6
00000B70 205F movea.l A0, [A7]+
00000B72 548F addq.l A7, 2
00000B74 4ED0 jmp [A0]
export_16:
00000B76 51C1 sf D1
00000B78 6002 bra +0x4 /* 00000B7C */
export_17:
00000B7A 50C1 st D1
label00000B7C:
00000B7C 4E56 FFCE link A6, -0x0032
00000B80 41EE FFCE lea.l A0, [A6 - 0x32]
00000B84 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00000B8A 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00000B90 226E 000C movea.l A1, [A6 + 0xC]
00000B94 2151 0024 move.l [A0 + 0x24], [A1]
00000B98 4268 002C clr.w [A0 + 0x2C]
00000B9C 42A8 002E clr.l [A0 + 0x2E]
00000BA0 4A01 tst.b D1
00000BA2 6604 bne +0x6 /* 00000BA8 */
00000BA4 A002 syscall Read
00000BA6 6002 bra +0x4 /* 00000BAA */
label00000BA8:
00000BA8 A003 syscall Write
label00000BAA:
00000BAA 3D40 0012 move.w [A6 + 0x12], D0
00000BAE 226E 000C movea.l A1, [A6 + 0xC]
00000BB2 22A8 0028 move.l [A1], [A0 + 0x28]
00000BB6 4E5E unlink A6
00000BB8 225F movea.l A1, [A7]+
00000BBA DFFC 0000 000A add.l A7, 0xA /* '\n' */
00000BC0 4ED1 jmp [A1]
export_18:
00000BC2 4E56 FFC0 link A6, -0x0040
00000BC6 41EE FFC0 lea.l A0, [A6 - 0x40]
00000BCA 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00000BD0 A014 syscall GetVol/PBHGetVol/HGetVol
00000BD2 3D40 0010 move.w [A6 + 0x10], D0
00000BD6 226E 0008 movea.l A1, [A6 + 0x8]
00000BDA 32A8 0016 move.w [A1], [A0 + 0x16]
00000BDE 4E5E unlink A6
00000BE0 225F movea.l A1, [A7]+
00000BE2 508F addq.l A7, 8
00000BE4 4ED1 jmp [A1]
export_19:
00000BE6 4E56 FFC0 link A6, -0x0040
00000BEA 41EE FFC0 lea.l A0, [A6 - 0x40]
00000BEE 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000BF4 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000BFA A013 syscall FlushVol
00000BFC 3D40 000E move.w [A6 + 0xE], D0
00000C00 4E5E unlink A6
00000C02 225F movea.l A1, [A7]+
00000C04 5C8F addq.l A7, 6
00000C06 4ED1 jmp [A1]
export_20:
00000C08 4E56 FFB0 link A6, -0x0050
00000C0C 41EE FFB0 lea.l A0, [A6 - 0x50]
00000C10 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00000C16 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00000C1C 4228 001A clr.b [A0 + 0x1A]
00000C20 A008 syscall Create/PBHCreate/HCreate
00000C22 4A40 tst.w D0
00000C24 6616 bne +0x18 /* 00000C3C */
00000C26 4268 001C clr.w [A0 + 0x1C]
00000C2A A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00000C2C 2008 move.l D0, A0
00000C2E 43E8 0020 lea.l A1, [A0 + 0x20]
00000C32 22EE 0008 move.l [A1]+, [A6 + 0x8]
00000C36 22AE 000C move.l [A1], [A6 + 0xC]
00000C3A A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00000C3C:
00000C3C 3D40 0016 move.w [A6 + 0x16], D0
00000C40 4E5E unlink A6
00000C42 225F movea.l A1, [A7]+
00000C44 DFFC 0000 000E add.l A7, 0xE
00000C4A 4ED1 jmp [A1]
export_21:
00000C4C 4E56 FFCE link A6, -0x0032
00000C50 41EE FFCE lea.l A0, [A6 - 0x32]
00000C54 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000C5A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000C60 4228 001A clr.b [A0 + 0x1A]
00000C64 A009 syscall Delete/PBHDelete/HDelete
00000C66 3D40 000E move.w [A6 + 0xE], D0
00000C6A 4E5E unlink A6
00000C6C 225F movea.l A1, [A7]+
00000C6E 5C8F addq.l A7, 6
00000C70 4ED1 jmp [A1]
export_22:
00000C72 4E56 FFCE link A6, -0x0032
00000C76 41EE FFCE lea.l A0, [A6 - 0x32]
00000C7A 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000C80 A011 syscall GetEOF
00000C82 3D40 000E move.w [A6 + 0xE], D0
00000C86 226E 0008 movea.l A1, [A6 + 0x8]
00000C8A 22A8 001C move.l [A1], [A0 + 0x1C]
00000C8E 4E5E unlink A6
00000C90 225F movea.l A1, [A7]+
00000C92 5C8F addq.l A7, 6
00000C94 4ED1 jmp [A1]
export_23:
00000C96 4E56 FFCE link A6, -0x0032
00000C9A 41EE FFCE lea.l A0, [A6 - 0x32]
00000C9E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000CA4 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00000CAA 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00000CB0 A044 syscall SetFPos
00000CB2 3D40 0010 move.w [A6 + 0x10], D0
00000CB6 4E5E unlink A6
00000CB8 225F movea.l A1, [A7]+
00000CBA 508F addq.l A7, 8
00000CBC 4ED1 jmp [A1]
00000CBE 7401 moveq.l D2, 0x01
label00000CC0:
00000CC0 205F movea.l A0, [A7]+
00000CC2 3F02 move.w -[A7], D2
00000CC4 2F08 move.l -[A7], A0
00000CC6 ADEA syscall Pack3, auto_pop
export_24:
00000CC8 7402 moveq.l D2, 0x02
00000CCA 4EFA FFF4 jmp [PC - 0xC /* 00000CC0 */]
00000CCE 7406 moveq.l D2, 0x06
label00000CD0:
00000CD0 205F movea.l A0, [A7]+
00000CD2 3F02 move.w -[A7], D2
00000CD4 2F08 move.l -[A7], A0
00000CD6 ADED syscall Pack6, auto_pop
export_25:
00000CD8 7400 moveq.l D2, 0x00
00000CDA 4EFA FFF4 jmp [PC - 0xC /* 00000CD0 */]
export_26:
00000CDE 206F 0008 movea.l A0, [A7 + 0x8]
00000CE2 3F3C 0001 move.w -[A7], 0x1
00000CE6 A9EE syscall Pack7/DecStr68K
00000CE8 206F 0004 movea.l A0, [A7 + 0x4]
00000CEC 2080 move.l [A0], D0
00000CEE 4EFA 000E jmp [PC + 0xE /* 00000CFE */]
export_27:
00000CF2 206F 0004 movea.l A0, [A7 + 0x4]
00000CF6 202F 0008 move.l D0, [A7 + 0x8]
00000CFA 4267 clr.w -[A7]
00000CFC A9EE syscall Pack7/DecStr68K
label00000CFE:
00000CFE 205F movea.l A0, [A7]+
00000D00 504F addq.w A7, 8
00000D02 4ED0 jmp [A0]
fn00000D04:
00000D04 4E56 0000 link A6, 0
00000D08 48E7 3030 movem.l -[A7], D2,D3,A2,A3
00000D0C 262E 0008 move.l D3, [A6 + 0x8]
00000D10 266E 000C movea.l A3, [A6 + 0xC]
00000D14 242E 0010 move.l D2, [A6 + 0x10]
00000D18 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00000D1C 226D 8778 movea.l A1, [A5 - 0x7888]
00000D20 2283 move.l [A1], D3
00000D22 7001 moveq.l D0, 0x01
00000D24 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
00000D28 6700 0036 beq +0x38 /* 00000D60 */
00000D2C 0838 0000 0319 btst.b [0x00000319], 0x0
00000D32 6600 002C bne +0x2E /* 00000D60 */
00000D36 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000D3A 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00000D40 6600 001E bne +0x20 /* 00000D60 */
00000D44 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000D48 4AA8 0004 tst.l [A0 + 0x4]
00000D4C 6700 0012 beq +0x14 /* 00000D60 */
00000D50 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000D54 2268 0004 movea.l A1, [A0 + 0x4]
00000D58 4A51 tst.w [A1]
00000D5A 6700 0004 beq +0x6 /* 00000D60 */
00000D5E 7000 moveq.l D0, 0x00
label00000D60:
00000D60 2B40 8796 move.l [A5 - 0x786A], D0
00000D64 4AAD 8796 tst.l [A5 - 0x786A]
00000D68 6700 0058 beq +0x5A /* 00000DC2 */
00000D6C 41F8 0910 lea.l A0, [0x00000910 /* CurApName */]
00000D70 43ED 8740 lea.l A1, [A5 - 0x78C0]
00000D74 7010 moveq.l D0, 0x10
label00000D76:
00000D76 32D8 move.w [A1]+, [A0]+
00000D78 51C8 FFFC dbf D0, -0x6 /* 00000D76 */
00000D7C 226D 8768 movea.l A1, [A5 - 0x7898]
00000D80 41ED 8740 lea.l A0, [A5 - 0x78C0]
00000D84 2288 move.l [A1], A0
00000D86 4AAE 0018 tst.l [A6 + 0x18]
00000D8A 660C bne +0xE /* 00000D98 */
00000D8C 206D 8768 movea.l A0, [A5 - 0x7898]
00000D90 2F10 move.l -[A7], [A0]
00000D92 4EBA 020A jsr [PC + 0x20A /* 00000F9E */]
00000D96 588F addq.l A7, 4
label00000D98:
00000D98 200B move.l D0, A3
00000D9A 6704 beq +0x6 /* 00000DA0 */
00000D9C 7001 moveq.l D0, 0x01
00000D9E 2680 move.l [A3], D0
label00000DA0:
00000DA0 4A82 tst.l D2
00000DA2 6706 beq +0x8 /* 00000DAA */
00000DA4 2042 movea.l A0, D2
00000DA6 20AD 8768 move.l [A0], [A5 - 0x7898]
label00000DAA:
00000DAA 4AAE 0014 tst.l [A6 + 0x14]
00000DAE 6708 beq +0xA /* 00000DB8 */
00000DB0 206E 0014 movea.l A0, [A6 + 0x14]
00000DB4 20AD 876C move.l [A0], [A5 - 0x7894]
label00000DB8:
00000DB8 7001 moveq.l D0, 0x01
00000DBA 2B40 8796 move.l [A5 - 0x786A], D0
00000DBE 6000 0114 bra +0x116 /* 00000ED4 */
label00000DC2:
00000DC2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000DC6 2268 0004 movea.l A1, [A0 + 0x4]
00000DCA 3011 move.w D0, [A1]
00000DCC B06D 8762 cmp.w D0, [A5 - 0x789E]
00000DD0 670C beq +0xE /* 00000DDE */
00000DD2 2F3C 8000 0000 move.l -[A7], 0x80000000
00000DD8 4EBA 012C jsr [PC + 0x12C /* 00000F06 */]
00000DDC 588F addq.l A7, 4
label00000DDE:
00000DDE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000DE2 2268 0004 movea.l A1, [A0 + 0x4]
00000DE6 41ED 8762 lea.l A0, [A5 - 0x789E]
00000DEA 2348 0024 move.l [A1 + 0x24], A0
00000DEE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000DF2 2B68 0004 8786 move.l [A5 - 0x787A], [A0 + 0x4]
00000DF8 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000DFC 2268 0004 movea.l A1, [A0 + 0x4]
00000E00 2B69 0002 8764 move.l [A5 - 0x789C], [A1 + 0x2]
00000E06 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000E0A 2268 0004 movea.l A1, [A0 + 0x4]
00000E0E 2B69 0006 8768 move.l [A5 - 0x7898], [A1 + 0x6]
00000E14 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000E18 2268 0004 movea.l A1, [A0 + 0x4]
00000E1C 2B69 000A 876C move.l [A5 - 0x7894], [A1 + 0xA]
00000E22 4AAE 0018 tst.l [A6 + 0x18]
00000E26 672C beq +0x2E /* 00000E54 */
00000E28 246D 8768 movea.l A2, [A5 - 0x7898]
00000E2C 600A bra +0xC /* 00000E38 */
label00000E2E:
00000E2E 2F12 move.l -[A7], [A2]
00000E30 4EBA 013A jsr [PC + 0x13A /* 00000F6C */]
00000E34 588F addq.l A7, 4
00000E36 588A addq.l A2, 4
label00000E38:
00000E38 4A92 tst.l [A2]
00000E3A 6600 FFF2 bne -0xC /* 00000E2E */
00000E3E 246D 876C movea.l A2, [A5 - 0x7894]
00000E42 600A bra +0xC /* 00000E4E */
label00000E44:
00000E44 2F12 move.l -[A7], [A2]
00000E46 4EBA 0124 jsr [PC + 0x124 /* 00000F6C */]
00000E4A 588F addq.l A7, 4
00000E4C 588A addq.l A2, 4
label00000E4E:
00000E4E 4A92 tst.l [A2]
00000E50 6600 FFF2 bne -0xC /* 00000E44 */
label00000E54:
00000E54 200B move.l D0, A3
00000E56 6704 beq +0x6 /* 00000E5C */
00000E58 26AD 8764 move.l [A3], [A5 - 0x789C]
label00000E5C:
00000E5C 4A82 tst.l D2
00000E5E 6706 beq +0x8 /* 00000E66 */
00000E60 2042 movea.l A0, D2
00000E62 20AD 8768 move.l [A0], [A5 - 0x7898]
label00000E66:
00000E66 4AAE 0014 tst.l [A6 + 0x14]
00000E6A 6708 beq +0xA /* 00000E74 */
00000E6C 206E 0014 movea.l A0, [A6 + 0x14]
00000E70 20AD 876C move.l [A0], [A5 - 0x7894]
label00000E74:
00000E74 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000E78 2268 0004 movea.l A1, [A0 + 0x4]
00000E7C 4AA9 0020 tst.l [A1 + 0x20]
00000E80 674C beq +0x4E /* 00000ECE */
00000E82 4878 0078 push.l 0x78 /* 'x' */
00000E86 4EBA 00DA jsr [PC + 0xDA /* 00000F62 */]
00000E8A 2B40 8782 move.l [A5 - 0x787E], D0
00000E8E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000E92 2268 0004 movea.l A1, [A0 + 0x4]
00000E96 2629 0020 move.l D3, [A1 + 0x20]
00000E9A 7200 moveq.l D1, 0x00
00000E9C 588F addq.l A7, 4
label00000E9E:
00000E9E 2001 move.l D0, D1
00000EA0 E780 asl D0, 3
00000EA2 2400 move.l D2, D0
00000EA4 D080 add.l D0, D0
00000EA6 D082 add.l D0, D2
00000EA8 2240 movea.l A1, D0
00000EAA D3ED 8782 add.l A1, [A5 - 0x787E]
00000EAE 2401 move.l D2, D1
00000EB0 E782 asl D2, 3
00000EB2 2002 move.l D0, D2
00000EB4 D482 add.l D2, D2
00000EB6 D480 add.l D2, D0
00000EB8 2042 movea.l A0, D2
00000EBA D1C3 add.l A0, D3
00000EBC 7017 moveq.l D0, 0x17
label00000EBE:
00000EBE 12D8 move.b [A1]+, [A0]+
00000EC0 51C8 FFFC dbf D0, -0x6 /* 00000EBE */
00000EC4 5281 addq.l D1, 1
00000EC6 7005 moveq.l D0, 0x05
00000EC8 B081 cmp.l D0, D1
00000ECA 6E00 FFD2 bgt -0x2C /* 00000E9E */
label00000ECE:
00000ECE 7000 moveq.l D0, 0x00
00000ED0 2B40 8796 move.l [A5 - 0x786A], D0
label00000ED4:
00000ED4 4CEE 0C0C FFF0 movem.l D2,D3,A2,A3, [A6 - 0x10]
00000EDA 4E5E unlink A6
00000EDC 4E75 rts
00000EDE DF52 add.w [A2], D7
00000EE0 5449 addq.w A1, 2
00000EE2 4E49 trap 9
00000EE4 5420 addq.b -[A0], 2
fn00000EE6:
00000EE6 4E56 0000 link A6, 0
00000EEA 202E 0008 move.l D0, [A6 + 0x8]
00000EEE 0280 00FF FFFF andi.l D0, 0xFFFFFF
00000EF4 2F00 move.l -[A7], D0
00000EF6 4EBA 000E jsr [PC + 0xE /* 00000F06 */]
00000EFA 4E5E unlink A6
00000EFC 4E75 rts
00000EFE C558 and.w [A0]+, D2
00000F00 4954 chk.w D4, [A4]
00000F02 2020 move.l D0, -[A0]
00000F04 2020 move.l D0, -[A0]
fn00000F06:
00000F06 4E56 0000 link A6, 0
00000F0A 48E7 2020 movem.l -[A7], D2,A2
00000F0E 242E 0008 move.l D2, [A6 + 0x8]
00000F12 206D 8778 movea.l A0, [A5 - 0x7888]
00000F16 7024 moveq.l D0, 0x24
00000F18 D1C0 add.l A0, D0
00000F1A 2448 movea.l A2, A0
00000F1C 600E bra +0x10 /* 00000F2C */
label00000F1E:
00000F1E 4A92 tst.l [A2]
00000F20 6708 beq +0xA /* 00000F2A */
00000F22 2F02 move.l -[A7], D2
00000F24 2052 movea.l A0, [A2]
00000F26 4E90 jsr [A0]
00000F28 588F addq.l A7, 4
label00000F2A:
00000F2A 598A subq.l A2, 4
label00000F2C:
00000F2C 206D 8778 movea.l A0, [A5 - 0x7888]
00000F30 B5C8 cmpa.l A2, A0
00000F32 6200 FFEA bhi -0x14 /* 00000F1E */
00000F36 206D 8786 movea.l A0, [A5 - 0x787A]
00000F3A 2142 000E move.l [A0 + 0xE], D2
00000F3E 206D 8778 movea.l A0, [A5 - 0x7888]
00000F42 2050 movea.l A0, [A0]
00000F44 4E90 jsr [A0]
00000F46 4CEE 0404 FFF8 movem.l D2,A2, [A6 - 0x8]
00000F4C 4E5E unlink A6
00000F4E 4E75 rts
00000F50 DF52 add.w [A2], D7
00000F52 5445 addq.w D5, 2
00000F54 5849 addq.w A1, 4
00000F56 5420 addq.b -[A0], 2
00000F58 7000 moveq.l D0, 0x00
label00000F5A:
00000F5A 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000F5E 2008 move.l D0, A0
00000F60 4E75 rts
fn00000F62:
00000F62 202F 0004 move.l D0, [A7 + 0x4]
00000F66 A11E syscall NewPtr, flags=1
00000F68 4EFA FFF0 jmp [PC - 0x10 /* 00000F5A */]
fn00000F6C:
00000F6C 202F 0004 move.l D0, [A7 + 0x4]
00000F70 6726 beq +0x28 /* 00000F98 */
00000F72 2040 movea.l A0, D0
00000F74 2248 movea.l A1, A0
00000F76 1019 move.b D0, [A1]+
00000F78 671E beq +0x20 /* 00000F98 */
label00000F7A:
00000F7A 1211 move.b D1, [A1]
00000F7C 12C0 move.b [A1]+, D0
00000F7E 1001 move.b D0, D1
00000F80 66F8 bne -0x6 /* 00000F7A */
00000F82 93C8 sub.l A1, A0
00000F84 2009 move.l D0, A1
00000F86 5340 subq.w D0, 1
00000F88 0C80 0000 00FF cmpi.l D0, 0xFF
00000F8E 6F06 ble +0x8 /* 00000F96 */
00000F90 203C 0000 00FF move.l D0, 0xFF
label00000F96:
00000F96 1080 move.b [A0], D0
label00000F98:
00000F98 202F 0004 move.l D0, [A7 + 0x4]
00000F9C 4E75 rts
fn00000F9E:
00000F9E 202F 0004 move.l D0, [A7 + 0x4]
00000FA2 6712 beq +0x14 /* 00000FB6 */
00000FA4 2040 movea.l A0, D0
00000FA6 7000 moveq.l D0, 0x00
00000FA8 1010 move.b D0, [A0]
00000FAA 6004 bra +0x6 /* 00000FB0 */
label00000FAC:
00000FAC 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00000FB0:
00000FB0 51C8 FFFA dbf D0, -0x8 /* 00000FAC */
00000FB4 4210 clr.b [A0]
label00000FB6:
00000FB6 202F 0004 move.l D0, [A7 + 0x4]
00000FBA 4E75 rts